package com.example.firstapp.activity;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ImageView;

import com.example.firstapp.R;
import com.example.firstapp.entity.Restaurant;

public class InformationActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_information);

		Restaurant restaurant = ((MobileApplication) getApplication())
				.getRestaurant();
		ImageView info = (ImageView) findViewById(R.id.restaurant_info);
		info.setImageResource(restaurant.getMenu());
	}
}
